﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SchedulerManager.Common
{
    public class DatabaseSettings
    {
        public string? ConnectionString { get; set; }
        public DatabaseType DbType { get; set; } = DatabaseType.SqlServer;
    }
    // 正确完整的枚举定义
    public enum DatabaseType
    {
        SqlServer = 0,    // SQL Server
        MySql = 1,        // MySQL
        PostgreSQL = 2,   // PostgreSQL
        Oracle = 3,       // Oracle
        Sqlite = 4        // SQLite
    }
}
